ADD_EXECUTABLE(main main.c)

INCLUDE_DIRECTORIES(/home/ubuntu/workplace/soft/include/hello)

# 添加库搜索路径
LINK_DIRECTORIES(/home/ubuntu/workplace/soft/lib)

# 指定需要链接的库，可以同时写多个依赖的库。
TARGET_LINK_LIBRARIES(main hello)